www.gusucode.com > vc++ 远程控制示例源程序-源码程序 > vc++ 远程控制示例源程序-源码程序\code\PeerYouC\PeerYouCDoc.cpp
// PeerYouCDoc.cpp : implementation of the CPeerYouCDoc class // Download by http://www.NewXing.com #include "stdafx.h" #include "PeerYouC.h" #include "PeerYouCDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CPeerYouCDoc IMPLEMENT_DYNCREATE(CPeerYouCDoc, CDocument) BEGIN_MESSAGE_MAP(CPeerYouCDoc, CDocument) //{{AFX_MSG_MAP(CPeerYouCDoc) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CPeerYouCDoc construction/destruction CPeerYouCDoc::CPeerYouCDoc() { // TODO: add one-time construction code here } CPeerYouCDoc::~CPeerYouCDoc() { } BOOL CPeerYouCDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CPeerYouCDoc serialization void CPeerYouCDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CPeerYouCDoc diagnostics #ifdef _DEBUG void CPeerYouCDoc::AssertValid() const { CDocument::AssertValid(); } void CPeerYouCDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CPeerYouCDoc commands